package cn.zysheep.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * <p>
 *
 * </p>
 *
 * @author : lyw
 * @since : 2023/11/23 16:51
 */
@Data
@Component("ss")
public class User {
    private String username;
    private String address;
    private Integer age;


    public String sayHello(String username) {
        return "hello " + username;
    }

    public String sayHello(Integer age) {
        return "hello " + username + ";age=" + age;
    }
    public String sayHello() {
        return "hello " + username;
    }
}
